package com.vehicle.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.vehicle.bean.PageVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car extends PageVo{
    private Integer carid;
    private String carplate;//车牌号
    private String carbrand;//品牌
    private  String  cartype;//类型
    private  String  carcolor;
    private Integer carseat;
    private  String carable;
    private  Dept dept;
    private  Integer carstatus;
    private  Double car_consumption;
    private  Integer car_startkm;
    private  Integer car_servicekm;
    private  String  engineno;
    private  Btype  btype;
    private  Double price;
    @JSONField(format = "yyyy-MM-dd")
    private Date buy_date;
    private  String  remark;
    private Driver driver;
    private  String img_url;
    private Integer servicetime;

}
